import request from '@/utils/request'

// 登录请求
export const loginAPI = (data) => {
  return request.post('/sys/login', data)
}

// 获取用户id请求
export const getUserInfoAPI = () => request.get('/sys/profile')

// 更改密码请求

// 修改用户密码
export const updatePasswordAPI = (data) => request.put('/sys/user/updatePass', data)
